require("./router")
const adminServer = require("./server/adminServer");


(async function(){

    const isAdmin = await adminServer.finds();

    if(!isAdmin){
        //管理员账号初始化，密码两次Md5后的值
       await adminServer.addAdmin('输入你账号填到这','输入转两次MD5后的值填到这');
       console.log("admin账号初始化完成"); 
    }
    
})()